#include "UserInformation.h"

#include <iostream>
using namespace std;

UserInformation::UserInformation()
{
	this->emailAddress ="";
	this->macAddress = "";
	this->password = "";
	this->name = "";
	this->bookMarkList = 0;
}



UserInformation::UserInformation( string emailAddress, string macAddress, string password, string name, BookMarkList* bookMarkList )
{
	this->emailAddress = emailAddress;
	this->macAddress = macAddress;
	this->password = password;
	this->bookMarkList = bookMarkList;
	this->name = name;
}



UserInformation::~UserInformation()
{

}



UserInformation::UserInformation(const UserInformation& source)
{
	this->emailAddress = source.emailAddress;
	this->password = source.password;
	this->macAddress = source.macAddress;
	this->bookMarkList = source.bookMarkList;
	this->name = source.name;
}

UserInformation& UserInformation::operator = (const UserInformation& source)
{
	this->emailAddress = source.emailAddress;
	this->password = source.password;
	this->macAddress = source.macAddress;
	this->bookMarkList = source.bookMarkList;
	this->name = source.name;
	
	return (*this);
}

